package com.bmps.springcloud.insuredmicroservice.repository.calculate.coresystem;

import com.bmps.springcloud.insuredmicroservice.model.accept.medium.PolicyRiskInfoModel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author jackdaw
 */
@Repository
public interface HistoricalPolicyRepository {
    /**
     * 查询历史单保单
     *
     * @param customerNo 客户号
     * @param prtNo      投保书号
     * @return 保单集合
     */
    List<PolicyRiskInfoModel> queryHistoricalPolicy(@Param("customerNo") String customerNo, @Param("prtNo") String prtNo);
}
